home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-06-30 | 1.4 KB | 57 lines |
- # 07.07.94 Hops - modified from orig for SunOS
-
- # Set (should probably posixise this...)
- #
- # Dir reading
- # -DUSE_DIR - use /usr/include/sys/dir.h ( Bsd/SunOs ? )
- # -DUSE_DIRENT - use /usr/include/dirent.h ( SysV ?? )
- # tty handling
- # -DHAVE_TERMIO_H You have /usr/include/termio.h ( SysV )
- #
- # utmp handling - leave both undefined if don't want to bother
- # -DHAVE_GETUT Have getutent(), getutline(), pututline() SVID2
- # -DHAVE_TTYSLOTUT Have ttyslot fn
- #
- # ptty handling
- # -DHAVE_MERGED_PTY Sco-ism - pty naming and opening
- # probably like no other
- #
- # ttyslot exists but not worlk on sco
- # ttyslot() doesnt find valid slot
- #
- # Not setting HAVE_TERMIO_H should fallback to BSD sgtty handling
- # but this is untested since sco port
-
- #DEBUGFLAGS= -O
- DEBUGFLAGS= -g
-
- # Sun/Bsd
- #PLATFORM_FLAGS= -DUSE_DIR
- #EXTRA_LIBS=
- #INSTALL=install
-
- # sco
- PLATFORM_FLAGS= -DUSE_DIRENT -DHAVE_TERMIO_H -DHAVE_GETUT -DHAVE_MERGED_PTY
- INSTALL= /usr/bin/X11/scoinst
-
-
- INSTALL_DIR = /usr/skunk
- CFLAGS = $(DEBUGFLAGS) $(PLATFORM_FLAGS)
- #CC = gcc
- CC = cc
-
-
-
- all: ile
-
- clean:
- -rm *.o
- -rm ile
-
- install:
- $(INSTALL) -c ile $(INSTALL_DIR)/bin/ile
- $(INSTALL) -c ile.1 $(INSTALL_DIR)/man/man1/ile.1
-
- ile: ile.o tty.o
- cc -o ile ile.o tty.o $(EXTRA_LIBS) -ltermcap
-